← Back
Editing: index-legacy334.js
!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function i(t,o,u,a){var i=o&&o.prototype instanceof l?o:l,f=Object.create(i.prototype);return e(f,"_invoke",function(t,e,o){var u,a,i,l=0,f=o||[],s=!1,v={p:0,n:0,v:n,a:p,f:p.bind(n,4),d:function(t,e){return u=t,a=0,i=n,v.n=e,c}};function p(t,e){for(a=t,i=e,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],p=v.p,y=u[2];t>3?(o=y===e)&&(i=u[(a=u[4])?5:(a=3,3)],u[4]=u[5]=n):u[0]<=p&&((o=t<2&&p<u[1])?(a=0,v.v=e,v.n=u[1]):p<y&&(o=t<3||u[0]>e||e>y)&&(u[4]=t,u[5]=e,v.n=y,a=0))}if(o||t>1)return c;throw s=!0,e}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&p(f,y),a=f,i=y;(r=a<2?n:i)||!s;){u||(a?a<3?(a>1&&(v.n=-1),p(a,i)):v.n=i:v.v=i);try{if(l=2,u){if(a||(o="next"),r=u[o]){if(!(r=r.call(u,i)))throw TypeError("iterator result is not an object");if(!r.done)return r;i=r.value,a<2&&(a=0)}else 1===a&&(r=u.return)&&r.call(u),a<2&&(i=TypeError("The iterator does not provide a '"+o+"' method"),a=1);u=n}else if((r=(s=v.n<0)?i:t.call(e,v))!==c)break}catch(r){u=n,a=1,i=r}finally{l=1}}return{value:r,done:s}}}(t,u,a),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var v=[][u]?r(r([][u]())):(e(r={},u,function(){return this}),r),p=s.prototype=l.prototype=Object.create(v);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,e(t,a,"GeneratorFunction")),t.prototype=Object.create(p),t}return f.prototype=s,e(p,"constructor",s),e(s,"constructor",f),f.displayName="GeneratorFunction",e(s,a,"GeneratorFunction"),e(p),e(p,a,"Generator"),e(p,u,function(){return this}),e(p,"toString",function(){return"[object Generator]"}),(t=function(){return{w:i,m:y}})()}function e(t,n,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}e=function(t,n,r,o){function a(n,r){e(t,n,function(t){return this._invoke(n,r,t)})}n?u?u(t,n,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[n]=r:(a("next",0),a("throw",1),a("return",2))},e(t,n,r,o)}function n(t,e,n,r,o,u,a){try{var i=t[u](a),c=i.value}catch(t){return void n(t)}i.done?e(c):Promise.resolve(c).then(r,o)}System.register(["./utils-lib-legacy.js?v=1765440387","./base-lib-legacy.js?v=1765440387","./form-item-legacy.js?v=1765440387","./index-legacy62.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./index-legacy94.js?v=1765440387","./useController-legacy10.js?v=1765440387","./index-legacy93.js?v=1765440387","./column-legacy.js?v=1765440387","./index-legacy135.js?v=1765440387"],function(e,r){"use strict";var o,u,a,i,c,l,f,s,v,p,y,d,b;return{setters:[function(t){o=t.G},function(t){u=t.c,a=t.r,i=t.g,c=t.q,l=t.v,f=t.e,s=t.x},function(t){v=t.p,p=t.f},function(t){y=t.u,d=t.e,b=t.H},null,null,null,null,null,null],execute:function(){var r={class:"p-[2rem]"};e("default",u({__name:"index",setup:function(e,u){var g,h,m=u.expose,j=y().httpRowData,_=a([{label:"500 - 服务器错误",value:"500"},{label:"502 - 网关错误",value:"502"},{label:"503 - 服务不可用",value:"503"},{label:"504 - 网关超时",value:"504"},{label:"404 - 页面未找到",value:"404"},{label:"403 - 禁止访问",value:"403"},{label:"429 - 请求过多",value:"429"}]),x=o({data:function(){var t;return{errorCodes:d(null===(t=j.value)||void 0===t?void 0:t.http_config.proxy_next_upstream)||[500,502,503,504]}},options:function(){return i(function(){return[v("错误状态码(多选)","errorCodes",_.value,{attrs:{class:"flex flex-col gap-2"}}),p("",[{content:"*错误状态码: 当后端节点返回的http状态码在错误状态码中时,该节点将会被视为处理失败"}])]})},submit:(g=t().m(function e(n,r){var o;return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,r();case 1:return o=j.value.load_id,t.n=2,b({load_id:o,http_codes:"[".concat(n.value.errorCodes,"]")});case 2:return t.a(2,t.v)}},e)}),h=function(){var t=this,e=arguments;return new Promise(function(r,o){var u=g.apply(t,e);function a(t){n(u,r,o,a,i,"next",t)}function i(t){n(u,r,o,a,i,"throw",t)}a(void 0)})},function(t,e){return h.apply(this,arguments)})}),w=x.BtForm;return m({onConfirm:x.submit}),function(t,e){return c(),l("div",r,[f(s(w))])}}}))}}})}();
Save File
Cancel